package com.base.api.dto.commodityClassify;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "商品分类搜索请求参数")
public class CommodityClassifySearchDTO {
    @NotNull
    @ApiModelProperty(value="页码", example = "1")
    private Integer offset;

    @NotNull
    @ApiModelProperty(value="页码大小",example = "8")
    private Integer limit;

    @ApiModelProperty(value="商品分类名称")
    private String commodityName;
}
